package grpc

import (
	"google.golang.org/grpc"
)
type RegisterServiceFunc func(s *grpc.Server) *grpc.Server

func NewServer(options []grpc.ServerOption,fn RegisterServiceFunc) *grpc.Server{
	return fn(grpc.NewServer(options...))
}